// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   xc.java

package com.zelix;

import java.io.*;
import java.util.*;

// Referenced classes of package com.zelix:
//            vc, jy, tb

public class xc extends vc
    implements Serializable
{

    public xc()
    {
    }

    public static xc a(String s, String s1)
    {
        File file = new File(s, s1);
        if(file.exists() && !file.isDirectory() && file.canRead())
            try
            {
                FileInputStream fileinputstream = new FileInputStream(file);
                ObjectInputStream objectinputstream = new ObjectInputStream(fileinputstream);
                xc xc1 = (xc)objectinputstream.readObject();
                xc1.a = true;
                return xc1;
            }
            catch(IOException ioexception) { }
            catch(ClassNotFoundException classnotfoundexception) { }
            catch(ClassCastException classcastexception) { }
            catch(Throwable throwable) { }
        return new xc();
    }

    public Enumeration b()
    {
        return super.f.d();
    }

    public Vector c()
    {
        Vector vector;
        Enumeration enumeration;
        boolean flag;
        flag = tb.b;
        vector = new Vector(super.f.size());
        enumeration = super.f.d();
        if(!flag) goto _L2; else goto _L1
_L1:
        vector.addElement((String)enumeration.nextElement());
_L2:
        if(!enumeration.hasMoreElements())
            return vector;
        if(true) goto _L1; else goto _L3
_L3:
    }

    public void b(String s, String s1)
    {
        File file = new File(s, s1);
        if(file.exists() && (file.isDirectory() || !file.canWrite()))
            return;
        try
        {
            FileOutputStream fileoutputstream = new FileOutputStream(file);
            ObjectOutputStream objectoutputstream = new ObjectOutputStream(fileoutputstream);
            objectoutputstream.writeObject(this);
            super.a = true;
        }
        catch(IOException ioexception) { }
    }

    public void a(ArrayList arraylist)
    {
        int i;
        boolean flag;
        flag = tb.b;
        super.f.clear();
        i = 0;
        if(!flag) goto _L2; else goto _L1
_L1:
        String s = (String)arraylist.get(i);
        super.f.put(s, s);
        i++;
_L2:
        if(i >= arraylist.size())
            return;
        if(true) goto _L1; else goto _L3
_L3:
    }
}
